﻿using System;

namespace YWM.Entities
{
    [Serializable]
    public abstract class CMEntity : CMEntityOfTKey<long>, IEntity, IAudited
    {
        public override long Id { get; set; }
    }

    [Serializable]
    public abstract class CMEntityOfTKey<TKey> : CEntityOfTKey<TKey>, IAudited<TKey>
    {
        public virtual TKey LastModifierUserId { get; set; }

        public virtual DateTime? LastModificationTime { get; set; }
    }
}
